﻿/*layout布局*/
/*Header*/
.hx-header {
    padding: unset;
}

.hx-header-shadow {
    box-shadow: 0 0.25rem 0.25rem rgbA(0, 0, 0, 0.05);
}

.hx-body {
    padding-top:3.5rem;
    padding-left: 14rem;
}

.hx-navbar {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: .5rem 1rem;
    background-color: #f8f9fa !important;
}

.hx-fiexd-top {
    position: fixed;
    top: 0;
    right: 0;
    left: 14rem;
    z-index: 1030;
}
/*navbar-toggler*/
.hx-navbar-toggler {
    margin-left: auto;
    padding: 0.625rem 0.5rem;
    /*padding: .25rem .75rem;*/
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: .25rem;
    cursor: pointer;
}

.thin-toggler:hover .hx-navbar-toggler-icon {
    background-color: #716aca;
}

    .thin-toggler:hover .hx-navbar-toggler-icon::before,
    .thin-toggler:hover .hx-navbar-toggler-icon::after {
        background-color: #716aca;
        width: 100%;
    }

.hx-navbar-toggler-icon {
    display: block;
    position: relative;
    min-height: 1px;
    border-radius: 0px;
    transition: all .4s ease;
    -webkit-transition: all .4s ease;
}

.thick-toggler .hx-navbar-toggler-icon {
    width: 1.875rem;
    height: 0.3rem;
    background-color: #FFF;
}

    .thick-toggler .hx-navbar-toggler-icon::before {
        margin-top: -0.625rem;
    }

    .thick-toggler .hx-navbar-toggler-icon::after {
        margin-top: 0.625rem;
    }

    .thick-toggler .hx-navbar-toggler-icon::before,
    .thick-toggler .hx-navbar-toggler-icon::after {
        width: 1.875rem;
        height: 0.3rem;
        background: #FFF;
        -webkit-transition-property: margin, -webkit-transform;
        transition-property: margin, -webkit-transform;
        transition-property: margin, transform;
        transition-property: margin, transform, -webkit-transform;
        -webkit-transition-duration: 300ms;
        transition-duration: 300ms;
    }

    .thick-toggler .hx-navbar-toggler-icon::before,
    .thick-toggler .hx-navbar-toggler-icon::after,
    .thin-toggler .hx-navbar-toggler-icon::before,
    .thin-toggler .hx-navbar-toggler-icon::after {
        content: '';
        display: block;
        position: absolute;
    }

.thin-toggler .hx-navbar-toggler-icon {
    width: 1.625rem;
    height: 2px;
    background-color: #5d5f77;
}

    .thin-toggler .hx-navbar-toggler-icon::before,
    .thin-toggler .hx-navbar-toggler-icon::after {
        left: auto;
        right: 0px;
        width: 100%;
        height: 2px;
        min-height: 1px;
        border-radius: 0px;
        transition: all .4s ease;
        -webkit-transition: all .4s ease;
        background-color: #5d5f77;
    }

    .thin-toggler .hx-navbar-toggler-icon::before {
        width: 50%;
        margin-top: -0.5rem;
    }

    .thin-toggler .hx-navbar-toggler-icon::after {
        width: 75%;
        margin-top: 0.5rem;
    }


/*aside*/
.hx-aside {
    width: 14rem;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 98;
    overflow-x: hidden;
}

.hx-aside-text {
    font-weight: 400;
    font-size: 0.825em;
    text-transform: initial;
}

.hx-aside-menu {
    width: 100%;
    overflow: hidden;
    border-right: none;
}

.hx-aside-fixed {
    position: fixed;
}

.hx-aside-link {
    display: block;
    padding: 0 1.5rem;
}

    .hx-aside-link:focus,
    .hx-aside-link:hover {
        text-decoration: none;
    }

    .hx-aside-link,
    .hx-aside-link i {
        line-height: 2.75rem;
    }

.hx-aside-toggle {
    white-space: nowrap;
    overflow: hidden;
    transition: all .3s;
}

    .hx-aside-toggle::before {
        content: "";
        position: absolute;
        left: 0px;
        width: 2px;
        height: 2.75rem;
        background: #34A0CE;
        opacity: 0;
        transition: all .3s;
    }

    .hx-aside-toggle:hover {
        color: #FFF;
        background: rgba(0, 0, 0, 0.2)
    }

.hx-aside-submenu {
    display: none;
    float: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.hx-aside-submenu-item {
    height: auto;
}

/*scrollbar滚动条*/
.hx-aside-scrollbar {
    height: calc(100% - 3.5rem);
}
/*brand*/
.hx-aside-brand {
    padding: 0px 1.5rem;
    height: 3.5rem;
}

/*图标*/
.hx-angle-right {
    float: right;
    font-size: 1.25em;
}
/*下拉框展开时的样式处理*/
.hx-aside-menu-item.show .hx-angle-right {
    transform: rotate( 90deg );
}

.hx-aside-menu-item.show .hx-aside-toggle::before {
    opacity: 1;
}

.hx-aside-submenu.show {
    display: block;
}
/*mini时的样式*/
.hx-aside-mini.hx-body {
    padding-left: 3.75rem;
}

    .hx-aside-mini.hx-body .hx-fiexd-top {
        left: 3.75rem;
    }

.hx-aside-mini.hx-aside-brand,
.hx-aside-mini.hx-aside:not(.hx-aside-mini-hover) {
    width: 3.75rem;
}

    .hx-aside-mini.hx-aside .hx-aside-brand .hx-brand-logo,
    .hx-aside-mini.hx-aside:not(.hx-aside-mini-hover) .hx-aside-link .hx-aside-link-text,
    .hx-aside-mini.hx-aside:not(.hx-aside-mini-hover) .hx-aside-link i.hx-angle-right {
        display: none !important;
    }

.hx-aside-mini.hx-aside .hx-aside-brand .thin-toggler .hx-navbar-toggler-icon::before,
.hx-aside-mini.hx-aside .hx-aside-brand .thin-toggler .hx-navbar-toggler-icon::after {
    left: 0;
    right: auto;
}
/*动画效果*/
.hx-aside,
.hx-aside-menu,
.hx-fiexd-top,
.hx-body {
    transition: all .3s ease;
    -webkit-transition: all .3s ease;
}
/*字体颜色*/
.hx-text-white {
    color: #fff !important;
}

@keyframes bodyToMini {
    from {
        padding-left: 14rem;
    }

    to {
        padding-left: 3.75rem;
    }
}

@-webkit-keyframes bodyToMini /* Safari and Chrome */
{
    from {
        padding-left: 14rem;
    }

    to {
        padding-left: 3.75rem;
    }
}

@keyframes bodyToMax {
    from {
        padding-left: 3.75rem;
    }

    to {
        padding-left: 14rem;
    }
}

@-webkit-keyframes bodyToMax /* Safari and Chrome */
{
    from {
        padding-left: 3.75rem;
    }

    to {
        padding-left: 14rem;
    }
}
